
<%--
    Document   : oEstrategico
    Created on : 10/04/2010, 03:05:56 PM
    Author     : LAPTOP01
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="http://struts.apache.org/tags-bean"  prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="/tags/c" prefix="c"%>
<%@ include file="seguridad.jsp" %>
<script src="scripts/ajax.js" language="JavaScript"></script>
<script src="js/calendar.js" language="javascript"></script>
<script src="js/calendar-es.js" language="javascript"></script>
<script src="js/calendar-setup.js" language="javascript"></script>


<script type="text/javascript">
    function autoCompletarDiv(metodo,url,cadena,async,idDiv)
        {
            if( window.XMLHttpRequest )
                ajax = new XMLHttpRequest();
            else
                ajax = new ActiveXObject("Microsoft.XMLHTTP");
            ELEMENT_DIV = idDiv;
            ajax.onreadystatechange = funcionCallbackVerDiv;
            ajax.open( metodo, url, async);
            ajax.send(cadena);
        }
    function funcionCallbackVerDiv()
        {
            if( ajax.readyState == 4 )
            {
                if( ajax.status == 200 )
                {
                    document.getElementById(ELEMENT_DIV).innerHTML = ajax.responseText;
                }
            }
        }

        function listar1(){


        var form = document.getElementById("FichaForm");
        form.action="Ficha.do?dispatch=listarFichaInfraestructura";
        form.method="post";
        form.submit();

        }

        function listar2(){


        var form = document.getElementById("FichaForm");
        form.action="Ficha.do?dispatch=listarFichaAdministrativa";
        form.method="post";
        form.submit();

        }
        


        


        





</script>

<html>
    <script LANGUAGE="JavaScript">
    </script>

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" rel="stylesheet" href="lib/css/Style_Font_Text.css" >
        <link type="text/css" rel="stylesheet" href="lib/css/Style_PageTable.css" >
        <link type="text/css" rel="stylesheet" href="lib/css/Style_Index.css" >
        <link rel="stylesheet" type="text/css" media="all" href="lib/css/calendar-win2k-cold-1.css" title="win2k-cold-1" />

        



        <title>JSP Page</title>
    </head>

    <body onload="iniciar();">
        <center>
            <h1 class="substylo">Edicion de Ficha Infraestructura</h1>
        </center>
        <div style="overflow: auto; width: 700px; height: 400px">
            <html:form action="Ficha.do?dispatch=loadFichaInfraestructurainicial" styleId="FichaForm">
                <table border="0" align="center" cellspacing="0" style="width: 600px" >

                    
                    <tr>
                       <td colspan="2" align="center"><input type="button" id="grabarDeportiva" value="Deportiva" onclick="listar1()" class="submit2"/></td>
                       <td colspan="2" align="center"><input type="button" id="grabarAdministrativa" value="Administrativa" onclick="listar2()" class="submit2"/></td>
                    </tr>
                </table>
        


            </html:form>
            
       </div>
    </body>
</html>